import { mockRequest } from '../../'

// 获取token
export function accountLogin(account: any) {
  return mockRequest.post({
    url: '/user/login',
    data: account
  })
}

// 获取用户信息
export function getUserInfo() {
  return mockRequest.request({
    url: '/user/info'
  })
}
